package com.boge.modules.house.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author boge
 * @email dengpbs@163.com
 * @date 2024-12-04 22:12:55
 */
@Data
@TableName("t_lease")
public class TLeaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Integer id;
	/**
	 * 房屋编号
	 */
	private Integer houseId;
	@TableField(exist = false)
	private String houseImg;

	@TableField(exist = false)
	private String houseName;

	/**
	 * 租户id
	 */
	private Integer userId;

	@TableField(exist = false)
	private String userName;
	/**
	 * 开始日期
	 */
	private String startDay;
	/**
	 * 结束日期
	 */
	private String endDay;
	/**
	 * 租金
	 */
	private Integer money;
	/**
	 * 租户状态 0 签约中 1 签约 2 结束
	 */
	private Integer status;
	/**
	 * 创建时间
	 */
	private Date createTime;

	@TableField(exist = false)
	private Integer yyId; // 预约ID

}
